USE [Mutil_TexasPoker]
GO

/****** Object:  StoredProcedure [dbo].[sp_AddGameLog]    Script Date: 01/20/2013 16:43:54 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[sp_AddGameLog] 
@GameId int,
@ServerId int,
@Step int,
@UserId int,
@idx int,
@SeatId int,
@RoundNum int,
@ActionType tinyint,
@LeftTime int,
@GiveChip float,
@SiteChip float,
@Stake float,
@TotalChip float,
@CurrentState tinyint,
@Memo varchar(50)	
AS
BEGIN
 SET NOCOUNT ON;
 INSERT INTO [Mutil_TexasPoker].[dbo].[Game_StepLog](GameId,ServerId,Step,UserId,idx,SeatId,RoundNum,ActionType,LeftTime,GiveChip,SiteChip,Stake,TotalChip,CurrentState,CreateTime,Memo)VALUES(@GameId,@ServerId,@Step,@UserId,@idx,@SeatId,@RoundNum,@ActionType,@LeftTime,@GiveChip,@SiteChip,@Stake,@TotalChip,@CurrentState,GETDATE(),@Memo) 
END

GO


